package com.itheima.a05extendsdemo4;

public class Test {
    public static void main(String[] args) {
        Manager m = new Manager("heima001","zhangsan",15000,1000);
        System.out.println(m.getId()+", "+m.getName()+", "+m.getSalary()+", "+m.getBonus());

        Cook c = new Cook();
        c.setId("heima002");
        c.setName("lisi");
        c.setSalary(10000);
        System.out.println(c.getId()+", "+c.getName()+", "+c.getSalary());

    }
}
